home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Appearance SDK 1.0.4 / Appearance Sample Code / Source / AppearanceSamplePrefixPro < prev    next >
Encoding:
Text File  |  1999-07-16  |  712 b   |  33 lines  |  [TEXT/CWIE]

  1. // #include <MacHeaders.h>
  2.  
  3. #define DEBUG        1
  4. #define NO_STATICS    1
  5.  
  6. //#define    BUILDING_FOR_SYSTEM7 1
  7. //#define FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED 1
  8.  
  9. #define        OLDROUTINENAMES     0
  10. #define     OLDROUTINELOCATIONS 0
  11.  
  12. //#if !defined(powerc) && !defined(OBSOLETE)
  13. // #define OBSOLETE    1
  14. //#endif
  15.  
  16. /*
  17.  *    Metrowerks-specific definitions
  18.  *
  19.  *    These definitions are commonly used but not in Apple's headers. We define
  20.  *    them in our precompiled header so we can use the Apple headers without modification.
  21.  */
  22.  
  23. #define PtoCstr        p2cstr
  24. #define CtoPstr        c2pstr
  25. #define PtoCString    p2cstr
  26. #define CtoPString    c2pstr
  27.  
  28. #define topLeft(r)    (((Point *) &(r))[0])
  29. #define botRight(r)    (((Point *) &(r))[1])
  30.  
  31. #define DELAY_LONG                    UInt32
  32.  
  33.